package cn.clx.basic.query;

import lombok.Data;

@Data
public class BaseQuery {

    private Long pageSize=5l;
    private Long currentPage=1l;
    private String keyword;


    private Long getStart(){
        System.out.println((this.currentPage-1)*pageSize);
        return (this.currentPage-1)*pageSize;
    }

}
